import request from '@/utils/request1'

// 查询level列表
export function addPayment(data) {
  return request({
    url: '/system/pos/payment/pay',
    method: 'post',
    data: data
  })
}

// 查看订单详情
export function searchPayment(orderCode) {
  return request({
    url: '/system/pos/payment/code/'+orderCode,
    method: 'get',
  })
}